package com.ming.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created by mqsi on 2022/5/16 19:53
 */
@Controller
@RequestMapping("/freemarker")
public class FreemarkerController {

	@RequestMapping("/sayHello")
	public Object sayHello(Map<String, Object> map){
		map.put("hello", "你好，Freemarker！！！");
		return "/Freemarker";
	}
}
